package com.fun.feifun.modules.business.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fun.feifun.modules.business.model.BusinessUserGoods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fun.feifun.modules.business.model.dto.BusinessUserGoodsDto;
import com.fun.feifun.modules.business.model.param.BusinessAmountRecordPage;
import com.fun.feifun.modules.business.model.param.BusinessUserGoodsParam;
import com.fun.feifun.modules.business.model.param.BusinessUserParam;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 业务用户商品信息 服务类
 * </p>
 *
 * @author wkf
 * @since 2024-05-29
 */
public interface IBusinessUserGoodsService extends IService<BusinessUserGoods> {

    List<BusinessUserGoodsDto> getUserDtoPage(BusinessUserParam page);

    List<BusinessUserGoodsDto> getSupplierDtoPage(BusinessUserParam page);

    Boolean saveUserGoods(BusinessUserGoodsParam param) ;

    Map<Long,Long> getUserGoodsCount(List<Long> usreIds) ;
}
